package HelloSeries.util.thread;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;

public class Sortie
    extends Thread
{
    private Process pCommande;

    public Sortie( Process pCommande )
    {
        this.pCommande = pCommande;
    }

    public void run()
    {
        try
        {
            InputStream is = pCommande.getInputStream();
            BufferedReader br = new BufferedReader( new InputStreamReader( is ) );
            for ( ;; )
            {
                String s = br.readLine();
                if ( s == null )
                    break;
            }
        }
        catch ( IOException ioe )
        {
        }
    }
}
